package Objects
{
	import starling.display.MovieClip;
	import starling.display.Sprite;
	
	public class NanoBot1 extends Sprite
	{
		public var resources:Assets;
		private var animaciones:Vector.<MovieClip> = new Vector.<MovieClip>();
		
		public function NanoBot1(_resources:Assets)
		{
			super();
			resources = _resources;
		}
		
		public function addAnimation(name:String, tag:String, fps:int):void{
			animaciones.push(new MovieClip(resources.getAtlas(name).getTextures(tag),fps));
		}
	}
}